<?php
return [
    /*
    |--------------------------------------------------------------------------
    | 平台控制台
    |--------------------------------------------------------------------------
    | 平台控制台菜单配置
    |
    */
    'admin' => [
        'home'    => [
            'name' => '欢迎页',
            'route'  => 'admin_home',
            'icon' => 'iconfont icon-home',
        ],
        'report'  => [
            'name'  => '统计',
            'icon'  => 'iconfont icon-activity',
            'child' => [
                'report_data'    => [
                    'name'  => '数据汇总',
                    'icon'  => 'iconfont icon-arrow-right',
                    'route' => 'admin_report_data',
                ],
                'user_map'    => [
                    'name'  => '用户注册数据',
                    'icon'  => 'iconfont icon-arrow-right',
                    'route' => 'admin_user_map',
                ],
                'recharge_order_map'    => [
                    'name'  => '油卡充值数据',
                    'icon'  => 'iconfont icon-arrow-right',
                    'route' => 'admin_recharge_order_map',
                ],
                'report_everyday'    => [
                    'name'  => '每日报表',
                    'icon'  => 'iconfont icon-arrow-right',
                    'route' => 'admin_report_everyday',
                ],
                /*'user_map'    => [
                    'name'  => '话费充值数据',
                    'icon'  => 'iconfont icon-arrow-right',
                    'route' => 'admin_user_map',
                ]*/
            ],
        ],
        'order'  => [
            'name'  => '油卡订单',
            'icon'  => 'iconfont icon-location',
            'child' => [
                'recharge_order'    => [
                    'name'  => '油卡订单',
                    'icon'  => '',
                    'route' => 'admin_recharge_order',
                ],

                'recharge_task_fail'    => [
                    'name'  => '充值失败处理',
                    'icon'  => '',
                    'route' => 'admin_recharge_task_fail',
                ],

                'recharge_task_schedule'    => [
                    'name'  => '近期待充值任务',
                    'icon'  => '',
                    'route' => 'admin_recharge_task_schedule',
                ],
            ],
        ],
        'mobile_order'  => [
            'name'  => '话费订单',
            'icon'  => 'iconfont icon-phone',
            'child' => [
                'mobile_recharge_order'    => [
                    'name'  => '话费订单',
                    'icon'  => '',
                    'route' => 'admin_mobile_recharge_order',
                ]
            ],
        ],
        'shop_order'  => [
            'name'  => '商城管理',
            'icon'  => 'iconfont icon-goods',
            'child' => [
                'goods_search'    => [
                    'name'  => '商品列表',
                    'icon'  => '',
                    'route' => 'admin_goods_search',
                ],
                'goods_class_search'    => [
                    'name'  => '商品分类',
                    'icon'  => '',
                    'route' => 'admin_goods_class_search',
                ],
                'goods_order_search'    => [
                    'name'  => '订单列表',
                    'icon'  => '',
                    'route' => 'admin_goods_order_search',
                ]
            ],
        ],
        'member'  => [
            'name'  => '会员',
            'icon'  => 'iconfont icon-friend',
            'child' => [
                'member'    => [
                    'name'  => '会员列表',
                    'icon'  => '',
                    'route' => 'admin_member',
                ],
                'oil_card'    => [
                    'name'  => '油卡列表',
                    'icon'  => '',
                    'route' => 'admin_member_oil_card',
                ],
                'member_coupon'    => [
                    'name'  => '用户优惠券',
                    'icon'  => '',
                    'route' => 'admin_member_coupon',
                ],
            ],
        ],
        'content'  => [
            'name'  => '运营',
            'icon'  => 'iconfont icon-shop',
            'child' => [
                'recharge' => [
                    'name' => '油卡套餐设置',
                    'route' => 'admin_recharge',
                    'icon' => ''
                ],
                'mobile_recharge' => [
                    'name' => '话费套餐设置',
                    'route' => 'admin_mobile_recharge',
                    'icon' => ''
                ],
                'coupon' => [
                    'name' => '优惠券',
                    'route' => 'admin_coupon',
                    'icon' => ''
                ],
                'notice' => [
                    'name' => '公告设置',
                    'route' => 'admin_notice_search',
                    'icon' => ''
                ],
                'qa' => [
                    'name' => '常见问题',
                    'route' => 'admin_article',
                    'icon' => '',
                ],
                'banner' => [
                    'name' => '轮播图设置',
                    'route' => 'admin_banner',
                    'icon' => '',
                ],
                'nav' => [
                    'name' => '导航设置',
                    'route' => 'admin_nav_search',
                    'icon' => '',
                ],

                'advs' => [
                    'name' => '广告设置',
                    'route' => 'admin_advs_search',
                    'icon' => '',
                ],

                'welfare' => [
                    'name' => '福利中心',
                    'route' => 'admin_welfare_search',
                    'icon' => ''
                ],

                'news' => [
                    'name' => '文章资讯',
                    'route' => 'admin_news_search',
                    'icon' => '',
                ],
                'channel' => [
                    'name' => '渠道管理',
                    'route' => 'admin_channel',
                    'icon' => '',
                ],
                'push' => [
                    'name' => '消息推送',
                    'route' => 'admin_push_message',
                    'icon' => '',
                ],
                'sms' => [
                    'name' => '短信推送',
                    'route' => 'admin_sms_message',
                    'icon' => '',
                ]
            ],
        ],
        'activity' => [
          'name' => '活动',
          'icon' => 'iconfont icon-activity',
          'child' => [
              'admin_oilcard' => [
                  'name' => '油卡管理',
                  'route' => 'admin_oilcard_list',
                  'icon' => '',
              ],
              'admin_activity' => [
                  'name' => '领取油卡',
                  'route' => 'admin_oilcard_get',
                  'icon' => '',
              ],
//              'mayDay' => [
//                  'name' => '五一兑换',
//                  'route' => 'admin_mayday_search',
//                  'icon' => ''
//              ]
            ]
        ],
        'system'  => [
            'name'  => '设置',
            'icon'  => 'iconfont icon-settings',
            'child' => [
                'admin'    => [
                    'name'  => '账号管理',
                    'route'  => 'admin_user',
                    'icon'  => 'iconfont icon-addressbook',
                    'child' => [
                        'admin_user'    => [
                            'name' => '账号列表',
                            'route'  => 'admin_user',
                            'icon' => '',
                        ],
                        'admin_role'     => [
                            'name' => '角色管理',
                            'route'  => 'admin_role',
                            'icon' => '',
                        ],
                    ],
                ],
                'configure' => [
                    'name' => '系统配置',
                    'route' => 'admin_configure',
                    'icon' => '',
                ],
                'app_control'=>[
                    'name' => '应用控制中心',
                    'route' => 'admin_app_control',
                    'icon' => '',
                ],
                'operation_record'=>[
                    'name' => '平台操作记录',
                    'route' => 'admin_admin_operation_record',
                    'icon' => '',
                ]
            ],
        ],
    ],
    'site' => []
];
